EC_ReadByteParameter

Function block EC_ReadByteParameter
Reads a byte through Service Data Object (SDO).
VAR_IN_OUT
V AxisIn AXIS_REF Reference to an axis.
V IoIn IO_REF Reference to an I/O module.
VAR_INPUT
V Execute BOOL Starts the action at rising edge.
V ObjectIndex WORD CANopen index of the object. See your device manual to get the value.
V SubIndex BYTE CANopen subindex of the object. See your device manual to get the value.
VAR_OUTPUT
V Done BOOL Reads the data successfully.
V Busy BOOL The function block is not finished and new output values are to be expected.
V Error BOOL Signals that an error has occurred within the function block.
V ErrorID MC_Error Error identification.
V Value BYTE The value to be read.
  • It's either AXIS_REF or IO_REF. By default, AXIS_REF is chosen. If there's no axis, the I/O module will be chosen.
  • Used to check that the servo drive or any other slave is configured as expected.
  EC_ReadByteParameter  
AXIS_REF   AxisIn   Axis   AXIS_REF
IO_REF   IoIn   Io   IO_REF
BOOL   Execute   Done   BOOL
WORD   ObjectIndex   Busy   BOOL
BYTE   SubIndex   Error   BOOL
        ErrorID   MC_Error
        Value   BYTE